const app = getApp();
const _requsetCYZ = require('../../../utils/requestData');
const _functionCYZ = require('../../../utils/common');
Page({
  data: {
    this_danhao: '',
    this_cms_config: []
  },
  onLoad: function (e) {
    var this_danhao = e.search_content || '';
    this.setData({ this_danhao: this_danhao});
    this.get_index_data();
  },
  get_index_data: function () {
    var that = this;
    _functionCYZ.CYZ_loading();
    var requestData = {};
    requestData.danhao = that.data.this_danhao;

    _requsetCYZ.cyz_requestGet('/WuliuCmsApiIndex/index', requestData, function (cyz_data) {
    console.log( cyz_data.info.this_cms_config)
      wx.hideToast();
      that.setData({ this_cms_config: cyz_data.info.this_cms_config });
    });
  },
})